package com.china.juju.entity;


import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name="juju_organ_identity"
    ,catalog="zutuan_prot"
)
public class JujuOrganIdentity  implements java.io.Serializable {

    private static final long serialVersionUID = 1L;

    public static final String ENTITY_NAME = "com.china.juju.entity.JujuOrganIdentity";
	public static final String TABLE_NAME="juju_organ_identity";

    public static final String PK_Field = "id"; 
    public static final String PK_Method = "getId";  
	
	public static final String P_id = "id"; 
	public static final String P_createtime = "createtime"; 
	public static final String P_schooltype = "schooltype"; 
	public static final String P_city = "city"; 
	public static final String P_area = "area"; 
	public static final String P_realemail = "realemail"; 
	public static final String P_realstatus = "realstatus"; 
	public static final String P_organid = "organid"; 
	public static final String P_realname = "realname"; 
	public static final String P_realtel = "realtel"; 
	public static final String P_realweibo = "realweibo"; 
	public static final String P_realdoc = "realdoc"; 
	public static final String P_organcreatetime = "organcreatetime"; 
	public static final String P_organtag = "organtag"; 
	public static final String P_identifittime = "identifittime"; 
	public static final String P_organmemo = "organmemo"; 
	public static final String P_userid = "userid"; 
	public static final String P_realorganname = "realorganname"; 
	public static final String P_approvemark = "approvemark"; 

     private String id;
     private Date createtime;
     private String schooltype;
     private String city;
     private String area;
     private String realemail;
     private Integer realstatus;
     private String organid;
     private String realname;
     private String realtel;
     private String realweibo;
     private String realdoc;
     private Date organcreatetime;
     private String organtag;
     private Date identifittime;
     private String organmemo;
     private String userid;
     private String realorganname;
     private String approvemark;

    public JujuOrganIdentity() {
    }
	
    public JujuOrganIdentity(String id) {
        this.id = id;
    }
    public JujuOrganIdentity(String id, Date createtime, String schooltype, String city, String area, String realemail, Integer realstatus, String organid, String realname, String realtel, String realweibo, String realdoc, Date organcreatetime, String organtag, Date identifittime, String organmemo, String userid, String realorganname, String approvemark) {
        this.id = id;
        this.createtime = createtime;
        this.schooltype = schooltype;
        this.city = city;
        this.area = area;
        this.realemail = realemail;
        this.realstatus = realstatus;
        this.organid = organid;
        this.realname = realname;
        this.realtel = realtel;
        this.realweibo = realweibo;
        this.realdoc = realdoc;
        this.organcreatetime = organcreatetime;
        this.organtag = organtag;
        this.identifittime = identifittime;
        this.organmemo = organmemo;
        this.userid = userid;
        this.realorganname = realorganname;
        this.approvemark = approvemark;
    }
   
    @Id 
    @GeneratedValue( generator="paymentableGenerator")  
    @GenericGenerator(name="paymentableGenerator", strategy="uuid")  
    
    @Column(name="ID", unique=true, nullable=false, length=36)
    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    @Temporal(TemporalType.TIMESTAMP)
    @Column(name="createtime", length=19)
    public Date getCreatetime() {
        return this.createtime;
    }
    
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
    
    @Column(name="schooltype", length=10)
    public String getSchooltype() {
        return this.schooltype;
    }
    
    public void setSchooltype(String schooltype) {
        this.schooltype = schooltype;
    }
    
    @Column(name="city", length=100)
    public String getCity() {
        return this.city;
    }
    
    public void setCity(String city) {
        this.city = city;
    }
    
    @Column(name="area", length=1000)
    public String getArea() {
        return this.area;
    }
    
    public void setArea(String area) {
        this.area = area;
    }
    
    @Column(name="realemail", length=100)
    public String getRealemail() {
        return this.realemail;
    }
    
    public void setRealemail(String realemail) {
        this.realemail = realemail;
    }
    
    @Column(name="realstatus")
    public Integer getRealstatus() {
        return this.realstatus;
    }
    
    public void setRealstatus(Integer realstatus) {
        this.realstatus = realstatus;
    }
    
    @Column(name="organid", length=36)
    public String getOrganid() {
        return this.organid;
    }
    
    public void setOrganid(String organid) {
        this.organid = organid;
    }
    
    @Column(name="realname")
    public String getRealname() {
        return this.realname;
    }
    
    public void setRealname(String realname) {
        this.realname = realname;
    }
    
    @Column(name="realtel", length=50)
    public String getRealtel() {
        return this.realtel;
    }
    
    public void setRealtel(String realtel) {
        this.realtel = realtel;
    }
    
    @Column(name="realweibo", length=100)
    public String getRealweibo() {
        return this.realweibo;
    }
    
    public void setRealweibo(String realweibo) {
        this.realweibo = realweibo;
    }
    
    @Column(name="realdoc", length=100)
    public String getRealdoc() {
        return this.realdoc;
    }
    
    public void setRealdoc(String realdoc) {
        this.realdoc = realdoc;
    }
    @Temporal(TemporalType.TIMESTAMP)
    @Column(name="organcreatetime", length=19)
    public Date getOrgancreatetime() {
        return this.organcreatetime;
    }
    
    public void setOrgancreatetime(Date organcreatetime) {
        this.organcreatetime = organcreatetime;
    }
    
    @Column(name="organtag", length=200)
    public String getOrgantag() {
        return this.organtag;
    }
    
    public void setOrgantag(String organtag) {
        this.organtag = organtag;
    }
    @Temporal(TemporalType.TIMESTAMP)
    @Column(name="identifittime", length=19)
    public Date getIdentifittime() {
        return this.identifittime;
    }
    
    public void setIdentifittime(Date identifittime) {
        this.identifittime = identifittime;
    }
    
    @Column(name="organmemo", length=200)
    public String getOrganmemo() {
        return this.organmemo;
    }
    
    public void setOrganmemo(String organmemo) {
        this.organmemo = organmemo;
    }
    
    @Column(name="userid", length=36)
    public String getUserid() {
        return this.userid;
    }
    
    public void setUserid(String userid) {
        this.userid = userid;
    }
    
    @Column(name="realorganname", length=200)
    public String getRealorganname() {
        return this.realorganname;
    }
    
    public void setRealorganname(String realorganname) {
        this.realorganname = realorganname;
    }
    
    @Column(name="approvemark", length=2048)
    public String getApprovemark() {
        return this.approvemark;
    }
    
    public void setApprovemark(String approvemark) {
        this.approvemark = approvemark;
    }



    @Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}


